import React from 'react'
import { Route } from 'react-router'

import map from './containers/map'// 本地服务
import app from './containers/app'// 一元夺宝
import GoodsInfo from './containers/GoodsInfo'// 详情页
import HistoryList from './containers/HistoryList'// 往期揭晓列表
import HistoryDetail from './containers/HistoryDetail'// 往期揭晓详请
import RecentlyAnnounced from './containers/RecentlyAnnounced'// 最近揭晓列表
import comment from './containers/comment'// 最近揭晓列表
import formula from './containers/formula'// 计算规则
import GoodsDetail from './containers/GoodsDetail'// 商品详情
import pay from './containers/pay'// 商品详情

import address from './containers/address'// 收货地址
import addressAdd from './containers/addressAdd'// 新增收货地址
import addressModify from './containers/addressModify'// 修改收货地址


import myOrderListAll from './containers/myOrderListAll'// 全部抢宝记录
import myOrderList from './containers/myOrderList'// 抢中的记录
import myOrderDetail from './containers/myOrderDetail'// 抢宝详情
import myShowInfo from './containers/myShowInfo'// 我的晒单记录
import myShowDetail from './containers/myShowDetail'// 晒单详情
import winShowInfo from './containers/winShowInfo'
import logisticsInfo from './containers/logisticsInfo'// 物流信息
                                                      // 
import result from './containers/result'// 物流信息

//商城
import mallIndex from './containers/mall/index'
import searchGoods from './containers/mall/searchGoods'
import categoryGoods from './containers/mall/categoryGoods'
import goodsDetail from './containers/mall/goodsDetail'
import shoppingCart from './containers/mall/shoppingCart'
import orderConfirm from './containers/mall/orderConfirm'
import addressList from './containers/mall/addressList'
import addAddress from './containers/mall/addAddress'
import modifyAddress from './containers/mall/modifyAdd'
import orderPay from './containers/mall/orderPay'
import editShoppingCart from './containers/mall/editShoppingCart'
import mine from './containers/mall/mine'
import myOrder from './containers/mall/myOrder'
import myOrderPay from './containers/mall/myOrderPay'
import myOrderSend from './containers/mall/myOrderSend'
import myOrderEvaluate from './containers/mall/myOrderEvaluate'
import myOrderReceipt from './containers/mall/myOrderReceipt'
import tradeSuccess from './containers/mall/tradeSuccess'
import orderDetail from './containers/mall/orderDetail'
import paySuccess  from './containers/mall/paySuccess'
import login from './containers/mall/login'

//支付
import scanCode from './containers/pay/scanCode'
import scanPaySuccess from './containers/pay/paySuccess'
import managementStaff from './containers/pay/managementStaff'//管理员工
import editStaff from './containers/pay/editStaff'//员工详情(编辑)
import payLogin from  './containers/pay/login'//登录验证
import me from  './containers/pay/me'//我的页面
import quickResponseCode from  './containers/pay/quickResponseCode'//二维码页面
import merchantService from './containers/pay/merchantService'//商家服务
import addEmployee from './containers/pay/addEmployee'//添加员工
import merchantPay from './containers/pay/merchantPay'//商户支付成功页面
import joinStoreSuccess from './containers/pay/joinStoreSuccess'//加入店铺成功
import selectDate from "./containers/pay/selectDate"//选择时间查询订单
import queryExportOrders from "./containers/pay/queryExportOrders"//查询导出订单
import appPay from "./containers/pay/appPay"

//叮叮
import dingPay from "./containers/ding/pay"
import dingPaySuccess from "./containers/ding/paySuccess"
import dingPayFailure from "./containers/ding/payFailure"
import chuiPay from "./containers/chui/payment"

const routes = (
	<Route>
	    <Route path="/" component={mallIndex} />

	    <Route path="/GoodsInfo" component={GoodsInfo} />
	    <Route path="/HistoryList" component={HistoryList} />
	    <Route path="/HistoryDetail" component={HistoryDetail} />
	    <Route path="/RecentlyAnnounced" component={RecentlyAnnounced} />
	    <Route path="/comment" component={comment} />
	    <Route path="/formula" component={formula} />
	    <Route path="/GoodsDetail" component={GoodsDetail} />
	    <Route path="/pay" component={pay} />
	    <Route path="/result" component={result} />

	    <Route path="/map" component={map} />

	    <Route path="/address" component={address} />
	    <Route path="/addressAdd" component={addressAdd} />
	    <Route path="/addressModify" component={addressModify} />

	    <Route path="/myOrderListAll" component={myOrderListAll} />
	    <Route path="/myOrderList" component={myOrderList} />
	    <Route path="/myOrderDetail" component={myOrderDetail} />
	    <Route path="/myShowInfo" component={myShowInfo} />
	    <Route path="/myShowDetail" component={myShowDetail} />

	    <Route path="/logisticsInfo" component={logisticsInfo} />
	    <Route path="/winShowInfo" component={winShowInfo} />


		<Route path="/mall/index" component={mallIndex}/>
		<Route path="/mall/searchGoods" component={searchGoods}/>
		<Route path="/mall/categoryGoods" component={categoryGoods}/>
		<Route path="/mall/goodsDetail" component={goodsDetail}/>
		<Route path="/mall/shoppingCart" component={shoppingCart}/>
		<Route path="/mall/orderConfirm" component={orderConfirm}/>
		<Route path="/mall/addressList" component={addressList}/>
		<Route path="/mall/addAddress" component={addAddress} />
		<Route path="/mall/modifyAddress" component={modifyAddress} />
		<Route path="/mall/orderPay" component={orderPay} />
		<Route path="/mall/editShoppingCart" component={editShoppingCart}/>
		<Route path="/mall/mine" component={mine}/>
		<Route path="/mall/myOrder" component={myOrder}/>
		<Route path="/mall/myOrderPay" component={myOrderPay}/>
		<Route path="/mall/myOrderSend" component={myOrderSend}/>
		<Route path="/mall/myOrderEvaluate" component={myOrderEvaluate}/>
		<Route path="/mall/myOrderReceipt" component={myOrderReceipt}/>
		<Route path="/mall/tradeSuccess" component={tradeSuccess}/>
		<Route path="/mall/orderDetail" component={orderDetail}/>
		<Route path="/mall/paySuccess" component={paySuccess}/>
		<Route path="/mall/login" component={login}/>

		<Route path="/pay/scanCode" component={scanCode}/>
		<Route path="/pay/managementStaff" component={managementStaff}/>
		<Route path="/pay/editStaff" component={editStaff}/>
		<Route path="/pay/login" component={payLogin}/>
		<Route path="/pay/me" component={me}/>
		<Route path="/pay/quickResponseCode" component={quickResponseCode}/>
		<Route path="/pay/paySuccess" component={scanPaySuccess}/>
		<Route path="/pay/merchantPay" component={merchantPay}/>
		<Route path="/pay/addEmployee" component={addEmployee}/>
		<Route path="/pay/merchantService" component={merchantService}/>
		<Route path="/pay/joinStoreSuccess" component={joinStoreSuccess}/>
		<Route path="/pay/selectDate" component={selectDate}/>
		<Route path="/pay/queryExportOrders" component={queryExportOrders}/>
		<Route path="/pay/appPay" component={appPay}/>

		<Route path="ding/pay" component={dingPay}/>
		<Route path="ding/paySuccess" component={dingPaySuccess}/>
		<Route path="ding/payFailure" component={dingPayFailure}/>
		<Route path="chui/payment" component={chuiPay}/>
	</Route>

	);
export default routes;